package com.nts.bupna.model;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class Imports implements Iterable<String> {
    private final List<String> list = new ArrayList<String>();

    public List<String> getList() {
        return list;
    }

    public void add(final String importString) {
        list.add(importString);
    }

    @Override
    public String toString() {
        return "Imports [list=" + list + "]";
    }

    @Override
    public Iterator<String> iterator() {
        return list.iterator();
    }
}
